<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.fc.util.*" %>
<%@ page import="com.fc.model.*" %>
<%@ page import="com.fc.control.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head> 
 
		<title>member_update</title>
	</head>

	<body>

		<%
			request.setCharacterEncoding("utf-8");
			int id = ParamUtil.getInt(request,"id",0);
			Member member = new Member();
			member = MemberControl.getMemberInfo(id);
			//System.out.println("dsds");
		%>
		<form action="member_update_do.jsp?id=<%=id%>" name="form1" method="post">
			<table width="400" border="0" cellpadding="2" cellspacing="0">
				<tr>
					<td>办理时间</td>
					<td><input type="text" name="start_time" value=<%=member.getStart_time()%> ></td>
				</tr>
				
				<tr>
					<td>会员类型</td>
					<td><input type="text" name="kind"  value=<%=member.getKind()%> ></td>				
				</tr>
				<tr>
					<td>结束时间</td>
					<td><input type="text" name="end_time"  value=<%=member.getEnd_time()%> ></td>				
				</tr>
				<tr>
					<td>余额(0有余额1余额不足)</td>
					<td>
					     <input type="text" name="state" value=<%=member.getState() %>>
					</td>				
				</tr>
				<tr>
					<td>账号</td>
					<td><input type="text" name="username"  value=<%=member.getUsername()%> ></td>				
				</tr>				
				<tr>
					<td>密码</td>
					<td><input type="text" name="password"  value=<%=member.getPassword()%> ></td>				
				</tr>	
				<tr>
					<td>电话</td>
					<td><input type="text" name="phone"  value=<%=member.getPhone()%> ></td>				
				</tr>							
              </table>
				
    					<input type="submit" name="button2" value="提交" onClick="check()" />
     					<input type="reset" name="Reset" value="重置" />

 			   
			
		</form>
	</body>
</html>
